app.factory('queueMonitorService', [ '$resource', function($resource) {
    return $resource( '/GMS/queueMonitor/:id/:action', {
        id:'@id',
        action : '@action'
    },{
        getQueueMonitor: {
            method: 'GET',
            isArray: false
        },
        clearQueue: {
            method: 'GET',
            isArray: false
        }
    });
} ]);
